package com.errol.batchprocessor.employeeaddition;

import com.renjia.entity.CoreEmployeeImportBatch;
import com.renjia.service.generic.log.LogService;
import com.renjia.service.generic.middleware.batchprocessor.AbstractBatchProcessorAdvisorContainer;
import com.renjia.service.module.employeeaddition.advisor.*;
import com.renjia.service.module.employeeaddition.advisorimpl.EmployeeAdvisorTypeEnum;
import com.renjia.service.module.employeeaddition.advisorimpl.common.payload.AbstractEmployeeBatchPayload;
import com.renjia.service.module.employeeaddition.advisorimpl.common.payload.AbstractEmployeePiecePayload;
import com.renjia.service.module.employeeaddition.advisorimpl.common.payload.AbstractEmployeeSinglePayload;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * 人员导入扩展点容器
 *
 * @author zhang xiao bin
 * @version v1.0
 * @date 2021/02/09
 * @since v5.0.5
 **/
@Primary
@Service
public class EmployeeAdvisorContainer<BE, SE, BP extends AbstractEmployeeBatchPayload<BE, SE>, PP extends AbstractEmployeePiecePayload<SE, SP>, SP extends AbstractEmployeeSinglePayload<SE>>
        extends AbstractBatchProcessorAdvisorContainer<CoreEmployeeImportBatch, EmployeeAdvisorTypeEnum, BE, SE, BP, PP, SP>
        implements
        EmployeeBatchAddAdvisor<BE, SE, BP, PP, SP>, EmployeeBatchStartAdvisor<BE, SE, BP, PP, SP>, EmployeeBatchFinishAdvisor<BE, SE, BP, PP, SP>, EmployeeBatchPostAdvisor<BE, SE, BP, PP, SP>,
        EmployeePieceStartAdvisor<BE, SE, BP, PP, SP>, EmployeePieceFinishAdvisor<BE, SE, BP, PP, SP>, EmployeePiecePostAdvisor<BE, SE, BP, PP, SP>,
        EmployeeSingleStartAdvisor<BE, SE, BP, PP, SP>, EmployeeSingleProcessAdvisor<BE, SE, BP, PP, SP>, EmployeeSingleFinishAdvisor<BE, SE, BP, PP, SP>, EmployeeSinglePostAdvisor<BE, SE, BP, PP, SP> {

    public EmployeeAdvisorContainer(LogService logService) {
        super(logService);
    }

}
